package com.rpc.byNetty;

/**
 * @author ZhangYongLiang
 * @Date 2021/11/11 16:38
 */
public enum PackageType {
    REQUEST_PACK(100),
    RESPONSE_PACK(200);

    private int code;

    PackageType(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
